package cn.virens.server.netty_udp.handler;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import cn.virens.server.netty_udp.packet.UdpReadPacket;

public abstract class PacketHandler {
	protected final Logger logger = LoggerFactory.getLogger(getClass());

	public abstract boolean can(int cmd);

	public abstract void handle(UdpReadPacket packet);
}
